package com.woniuxy.member.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2023-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exchange_record")
public class ExchangeRecord implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 兑换ID
     */
    @TableId(value = "exchange_record_id", type = IdType.AUTO)
    private Integer exchangeRecordId;

    /**
     * 用户ID
     */
    private Integer memberId;

    /**
     * 兑换物品名称
     */
    private String exchangeName;

    /**
     * 积分
     */
    private Integer score;

    /**
     * 兑换日期
     */
    private Date exchangeDate;

    /**
     * FOOD | COUPON
     */
    private String state;


}
